/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.bumblebee.sessions;

import com.bumblebee.entities.Transaction;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author numessi
 */
@Local
public interface TransactionFacadeLocal {

    void create(Transaction transaction);

    void edit(Transaction transaction);

    void remove(Transaction transaction);

    Transaction find(Object id);

    List<Transaction> findLocalTransaction(String locationID);

    List<Transaction> findAll();

    List<Transaction> findRange(int[] range);

    int count();

}
